package com.hibiscusking.basic.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PhoneVerificationDto {
    // 手机号
    @NotBlank(message = "手机号不能为空")
    private String phone;
    // 图像验证码
    private String imageCodeValue;
    // 图像验证码的key
    private String imageCodeKey;
    @NotBlank(message = "获取短信验证码的类型不能为空")
    private String type;

}
